package com.xdf.xzymanagementsystem.dao;

import com.xdf.xzymanagementsystem.entity.SysRoleGroup;
import com.xdf.xzymanagementsystem.util.Example;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @Description : 角色组
* @Author : 张柯
* @Date : 2020-12-31 14:42:38
*/
@Repository
public interface SysRoleGroupMapper {
    int insert(SysRoleGroup record);

    int insertSelective(SysRoleGroup record);

    int multiInsert(List<SysRoleGroup> list);

    int insertDumplicateKeyUpdate(SysRoleGroup record);

    int updateByPrimaryKey(SysRoleGroup record);

    int updateByPrimaryKeySelective(SysRoleGroup record);

    int multiUpdate(List<SysRoleGroup> list);

    int deleteByPrimaryKey(Integer id);

    SysRoleGroup selectByPrimaryKey(Integer id);

    List<SysRoleGroup> selectAll();

    List<SysRoleGroup> selectByParam(SysRoleGroup record);

    int updateByExampleSelective(@Param("record") SysRoleGroup record,@Param("example") Example example);

    int deleteByExample(@Param("example") Example example);

    List<SysRoleGroup> selectByExample(@Param("example") Example example);

    int insertByExampleSelective(@Param("record") SysRoleGroup record,@Param("example") Example example);

    long countByExample(@Param("example") Example example);

}